<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html >
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>后台管理--机构列表</title>
    <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet" />
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet" />
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js"  type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/pingyou/ndkhpstb.js?v=<%=System.currentTimeMillis()%>" type="text/javascript"></script>

    <style>
        .layui-badge-dot{position: absolute;font-size: 8px;width:13px;height:13px;left:20px}
        .number-text{position: absolute;color:#ffffff;font-size:8px;left:23px;display: inline-block;top:-5px}

    </style>
    <script>
        var ctxStatic="${ctxStatic}";
        var ctx="${ctx}";
    </script>
</head>
<body>

<div class="currentnav"><span class="tiao"></span><span class="navtitle">部门年度考核结果填报</span></div>

<div class="tabregion">
    <div  class="layui-form">
        <div class="serchcontent">

            <div class="search">
                <table>
                    <tr>
                        <td>年份：</td>
                        <td style="width:100px">
                            <select id="year" lay-filter="year">
                                <option value="2022">2022</option>
                                <option value="2021">2021</option>
                                <option value="2020">2020</option>
                                <option value="2019">2019</option>
                                <option value="2018">2018</option>
                                <option value="2017">2017</option>
                            </select>
                        </td>
                        <td>姓名：</td>
                        <td style="width:120px"><input type="text" style="width:120px" class="text" id="realname"/></td>
                        <td>
                            <input type="button" class="button" value="查询" onclick="vNdkhpstb.InitPage()" />
                            <button class="button" onclick="vNdkhpstb.exportentity()">导出打印</button>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>


    <div class="layui-tab layui-tab-brief" lay-filter="tabcontent" style="margin-top:0">
        <ul class="layui-tab-title">
            <li lay-id="0"  class="layui-this">机构汇总</li>
            <li lay-id="1" >评定列表</li>
        </ul>

        <div class="layui-tab-content" style="height: 100px;">
            <div class="layui-tab-item layui-show">
                <div id="listorg"></div>
            </div>
            <div class="layui-tab-item">
                <div class="content">
                    <table class="layui-table" lay-data="" lay-filter="uatmzpdsummary">
                        <thead>
                        <tr>
                            <th lay-data="{field:'realname', width:100,align:'center',fixed: 'left',templet: '#realnameTpl',event:'glxs'}" rowspan="2">姓名</th>
                            <th lay-data="{field:'cardno', width:180,align:'center',event:'glxs'}" rowspan="2">身份证号</th>
                            <th lay-data="{field:'orgname', width:200,align:'center',event:'glxs'}" rowspan="2">实际工作单位</th>
                            <th lay-data="{align:'center'}" colspan="2">第一季度</th>
                            <th lay-data="{align:'center'}" colspan="2">第二季度</th>
                            <th lay-data="{align:'center'}" colspan="2">第三季度</th>
                            <th lay-data="{align:'center'}" colspan="2">第四季度</th>
                            <th lay-data="{field:'remark', width: 130, align: 'center'}" rowspan="2">说明</th>
                            <th lay-data="{field:'ndkhpsjg', width: 100, align: 'center',templet:'#kpjgTpl'}" rowspan="2">${year}年考评结果</th>
                            <th lay-data="{ width: 80, align: 'center', toolbar: '#operate'}" rowspan="2">操作</th>
                        </tr>
                        <tr>
                            <th lay-data="{field:'yzzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                            <th lay-data="{field:'yszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                            <th lay-data="{field:'ezzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                            <th lay-data="{field:'eszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                            <th lay-data="{field:'szzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                            <th lay-data="{field:'sszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                            <th lay-data="{field:'sizzpdjg', width:100,align:'center',style:'color: #FCFF04;'}">组织评定</th>
                            <th lay-data="{field:'siszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
                        </tr>
                        </thead>
                    </table>

                    <script type="text/html" id="operate">
                        {{#  if(d.status == 0||d.status == 3){ }}
                        <img class="btn-img" src="${ctxStatic}/images/index/btn_edit.png" lay-event="edit" alt="调整" title="调整">
                        {{#  } }}
                    </script>

                    <script type="text/html" id="kpjgTpl">
                        {{#  if(d.ndkhpsjg == '合格'){ }}
                        <span style="color: yellow;">合格</span>
                        {{#  } }}

                        {{#  if(d.ndkhpsjg == '好'){ }}
                        <span style="color: red;">好</span>
                        {{#  } }}

                        {{#  if(d.ndkhpsjg == '差'){ }}
                        <span style="color: blue;">差</span>
                        {{#  } }}

                        {{#  if(d.ndkhpsjg == '不定结果'){ }}
                        <span style="color: yellow;">不定结果</span>
                        {{#  } }}
                    </script>

                </div>
            </div>
        </div>

    </div>



</div>

<input type="hidden" id="hidyear" value="${year }">
<input type="hidden" id="hidorgid" value="">

<script>
    $("#getdatadiv").height($(window).height()-80);
</script>

</body>
</html>